package com.jiutong.meipenggang.http.model.services;


import com.jiutong.meipenggang.common.Constants;
import com.jiutong.meipenggang.entity.PicUploadBean;

import java.util.Map;

import okhttp3.MultipartBody;
import retrofit2.http.Body;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Header;
import retrofit2.http.POST;
import rx.Observable;

/**
 *
 * @author Veken
 * @date 2017/6/16
 */

public interface ImageUploadService {

    @POST(Constants.UPLOAD_USER_PHOTO)
    Observable<PicUploadBean> imgUpload(@Body MultipartBody file);


}
